package cn.kgc.dao;

import cn.kgc.pojo.Device;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface DeviceMapper {
    public List<Device> queryAllDevice(@Param("deviceName") String deviceName,@Param("pageNum") int pageNum,@Param("pageSize") int pageSize);
    public int queryCount(@Param("deviceName")String deviceName);
    public Device queryDeviceById(@Param("id") int id);
}
